home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
landau
/
global.bas
< prev
next >
Wrap
BASIC Source File
|
1995-05-09
|
3KB
|
74 lines
Global LoadText As String
Global LandauText As String
Global OverviewText As String
Global ServicesText As String
Global ApplicationsText As String
Global TrainingText As String
Global BiographiesText As String
Global FileName As String
Global FullPathName As String
Global DetailTopic As Integer
Global Const OverviewTopic = 1
Global Const ServicesTopic = 2
Global Const ApplicationsTopic = 3
Global Const TrainingTopic = 4
Global Const BiographiesTopic = 5
Global Overview(10) As String
Global Services(20) As String
Global Applications(20) As String
Global Training(20) As String
Global Biographies(10) As String
Global CalcHWnd As Integer
Global NoteHWnd As Integer
' Special TYPEs used by File Dialog routines
Type MhGetFileType
HWnd As Integer ' Form's hWnd
FilterIndex As Long ' Which Filter to use as default
InitFileName As String ' Used to initialize File Name edit control
FormCaption As String ' Caption for File Form
InitDir As String ' Initial directory. Null for CurDir$
DefaultExtension As String ' Default extension to use (no period)
HowManyFilters As Integer ' In the other array
Flags As Long ' See manual
RawNamePos As Integer ' Returned as Instr in Result$ where raw file name begins
ExtensionPos As Integer ' Returned as Instr in Result$ where extension begins
End Type
Type MhFileFilterType
Description As String ' i.e., "Text Files"
Mask As String ' "*.txt;*.doc;*.bas
End Type
Rem Declare Function MhGetOpenFileName$ Lib "muscle.vbx" (X As MhGetFileType, Y As MhFileFilterType)
Rem Declare Function MhGetSaveFileName$ Lib "muscle.vbx" (X As MhGetFileType, Y As MhFileFilterType)
Rem Declare Function MhGetFileTitle$ Lib "muscle.vbx" (ByVal A$)
Rem Declare Function MhCtrlHwnd% Lib "muscle.vbx" (A As Control)
Rem Declare Function MhEcode% Lib "muscle.vbx" ()
Rem Declare Function MhExePath$ Lib "muscle.vbx" (ByVal HWnd%)
Declare Function WinHelp Lib "User" (ByVal HWnd As Integer, ByVal lpHelpFile As String, ByVal wCommand As Integer, ByVal dwData As Long) As Integer
Declare Function GetFocus Lib "User" () As Integer
Declare Function SetAppFocus Lib "User" Alias "SetFocus" (ByVal HWnd As Integer) As Integer
Declare Function ShowWindow Lib "User" (ByVal HWnd As Integer, ByVal nCmdShow As Integer) As Integer
Declare Function IsWindow Lib "User" (ByVal HWnd As Integer) As Integer
Declare Function DestroyWindow Lib "User" (ByVal HWnd As Integer) As Integer
Declare Sub BringWindowTotop Lib "User" (ByVal HWnd As Integer)
' WinHelp command constants
Global Const HELP_CONTEXT = &H1 ' Display topic in ulTopic
Global Const HELP_QUIT = &H2 ' Terminate help
Global Const HELP_INDEX = &H3 ' Display index
Global Const HELP_HELPONHELP = &H4 ' Display help on using help
Global Const HELP_SETINDEX = &H5 ' Set the current Index for multi index help
Global Const HELP_KEY = &H101 ' Display topic for keyword in offabData
Global Const HELP_MULTIKEY = &H201